import {iMicroApp} from "@peryl/micro-web";
import {MicroAppModule} from "./MicroAppModule";

export const microAppBaseRoutePublicPath = MicroAppModule.createRegistration(() => {
  let temp = '';
  const baseRoutePublicPath: iMicroApp['baseRoutePublicPath'] = {
    get: () => temp,
    set: (val: string) => temp = val,
  };
  return baseRoutePublicPath;
});
